package com.ytjj.qmyx.admin.service.impl;

import com.ytjj.qmyx.admin.mapper.AdminLogMapper;
import com.ytjj.qmyx.admin.model.AdminLog;
import com.ytjj.qmyx.admin.service.OperationLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description 操作日志记录
 *
 * @Version 1.0
 * 
 */
@Service
public class OperationLogServiceImpl implements OperationLogService {
    @Resource
    private AdminLogMapper adminLogMapper;

    @Override
    public void insert(AdminLog adminLog) {
        adminLogMapper.insertSelective(adminLog);
    }

    @Override
    public void insertProduct(AdminLog adminLog) {
        adminLogMapper.insertProduct(adminLog);
    }
}
